﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Linq;
using System.Text;
using AloizDeli.Enity;

namespace AloizDeli.DAL
{
    public class DogsContext:DbContext
    {
        //don`t forget, that you mast add results
 
        public DbSet<Breed> Breeds { get; set; }
        public DbSet<Dog> Dogs { get; set; }
        public DbSet<News> Newses { get; set; }
        public DbSet<Title> Titles { get; set; } 
        public DogsContext():base()
        {
        }
        public  DogsContext(string namebase):base(namebase)
        {
        }
        public  DogsContext(DbConnection connection):base(connection, false)
        {
        }
    }
}
